﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SCRUM.Core.DataProviders;
using SCRUM.Core.BusinessObjects;
using System.Collections.Specialized;

namespace SCRUM.Core.DAO
{
    /// <summary>
    /// Static access object for handling BLIs
    /// </summary>
    public static class DAOAttachment
    {

        /// <summary>
        /// Gets all attachments for the specified userStory.
        /// </summary>
        /// <param name="userStory">The specific UserStory.</param>\
        /// <returns>List of attachments for Userstory</returns>
        public static List<Attachment> GetAttachmetnsForUserStory(UserStory userStory)
        {
            return ProviderFactory.Provider.GetAttachmetnsForUserStory(userStory.ID);
        }

    }
}
